/**
 * 
 */
package com.HibernateRecepies.DAO;

import java.util.Date;

import com.HibernateRecepies.Domain.Book_Nest;
import com.HibernateRecepies.Domain.Contact_Nest;
import com.HibernateRecepies.Domain.Order_Nest;
import com.HibernateRecepies.Domain.Phone_Nest;

/**
 * @author Ignatiues charles arun
 * 
 *         Nov 30, 2010
 */
public class ORDER_NEST_DAO
	{

		Order_Nest ordNst = new Order_Nest();

		Book_Nest bkNest = new Book_Nest();

		public static void main(String args[])
			{
				Order_Nest ordr = new Order_Nest();
				Contact_Nest cntNst = new Contact_Nest();
				Book_Nest bkNest = new Book_Nest();
				Phone_Nest phNst = new Phone_Nest();

				java.util.Date dt = new Date();

				bkNest.setName("Professional Spring...");
				bkNest.setPublishedDate(dt);
				cntNst.setAddress("Hawai island...");
				cntNst.setRecepient("House keeper...");
				phNst.setAreaCode("Hawai-xxx-223x");
				phNst.setTelNo("121-123-12");
				cntNst.setHoliday_phone(phNst);
				ordr.setBook(bkNest);
				ordr.setHoliday_contact(cntNst);

			}
	}
